package com.qfedu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;

/**
 * 收货地址表(Address)实体类
 *
 * @author makejava
 * @since 2022-12-08 18:59:23
 */
@Data
@TableName("address")
@NoArgsConstructor
@AllArgsConstructor
public class Address{
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer addressId;
    /**
     * 地址
     */
    private String address;
    /**
     * 对应user表的id
     */
    private Integer userId;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 收货人手机号
     */
    private String phone;
    /**
     * 收货人
     */
    private String receiver;

}

